package com.hzf.wxplatform.common.runnable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.web.context.ServletContextAware;

import javax.servlet.ServletContext;

public class WxAdminUtil implements InitializingBean, ServletContextAware {
    protected static final Logger LOGGER = LoggerFactory.getLogger(WxAdminUtil.class);
    @Override
    public void afterPropertiesSet() throws Exception {

    }

    @Override
    public void setServletContext(ServletContext servletContext) {
            TokenScan.start();
            LOGGER.info("线程执行");
    }

}
